package hotairballoon.shape;


import graph.Point;

import java.util.ArrayList;


/***
 * Describes a balloon shape as a set of points in the XY coordinate
 * system. For example the shape can look like:
 * x ^
 *   |.....
 *   |     .
 *   |      .
 *   |      .
 *   |      .
 *   |     .
 *   |    .
 *   |   .
 *   |  .
 *   |  .
 *   +-------------> y
 *   
 *   By rotating the shape points around x-axis we get a XYZ representation of the balloon.
 *   
 * @author malpka
 *
 */
public class Shape {
	private ArrayList<Point> shapepoints = new ArrayList<Point>();

	
    public void clearShape(){
        shapepoints.clear();
    }

    public void addShapePoint(Point point){
        shapepoints.add(point);
    }

    public ArrayList<Point> getShapePoints(){
        return this.shapepoints;
    }
}
